package com.heima.media.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author: itheima
 * @create: 2022-04-03 09:10
 */
//@Component
public class TestJob {

    @Scheduled(cron = "0/5 * * * * ?")
    public void test(){
        System.out.println("任务执行了。。");
    }
}
